from django.contrib.syndication.feeds import Feed
from eport.pages.models import Page

class Content(Feed):
	title_template = 'feeds/title.html'
	description_template = 'feeds/description.html'
	title = "Phillip's Eportfolio"
	description = "Latest Updates"
	link = "/page/index/"
	def items(self):
		return Page.objects.order_by('-creation_date')[:5]
